package io;

import java.io.CharArrayReader;
import java.io.IOException;

public class CharArrayReaderDemo {


    public static void main(String[] args) throws IOException {

        char[] chas = "abc".toCharArray();
        CharArrayReader r = new CharArrayReader(chas);
        int i = r.read();
        System.out.println((char)i);
        r.close();
    }
}
